<?= $this->Form->create('User', array('url'=>'/admin/login', 'id'=>'login-form')) ?>
<?php echo $this->Session->flash('flash', array('element'=>'flash')); ?>

    <p><?= $this->Form->label('username', 'Korisničko ime:') ?><br>
    <?= $this->Form->text('username') ?></p>
    
    <p><?= $this->Form->label('password', 'Lozinka:') ?><br>
    <?= $this->Form->password('password') ?></p>

<?= $this->Form->submit('Prijava') ?>
<?= $this->Form->end() ?>
